package com.ihr360.payroll.model.dto.attendance.rule.enroll;

import com.ihr360.commons.model.type.EnrollAdjustFormula;
import com.ihr360.payroll.model.dto.attendance.supperclass.AbstractCalcAttendanceRule;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

/** 入职调整规则 */
@Entity
public class EnrollAdjustRule extends AbstractCalcAttendanceRule {

    @Enumerated(EnumType.STRING)
    @Column(length =20 )
    private EnrollAdjustFormula formula;

    public EnrollAdjustFormula getFormula() {
        return formula;
    }

    public void setFormula(EnrollAdjustFormula formula) {
        this.formula = formula;
    }
}